package com.universe;

/**
 * @author sad
 */
public class Wheel {

    private int universeIndex;
    private int channel;
    private int x;
    private int y;

    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }

    public int getScreenX() {
        int universeY = universeIndex / 6;
        int universeX = universeIndex - universeY * 6;
        universeX = universeX * 13 + x;

        return universeX;
    }

    public int getScreenY() {
        int universeY = universeIndex / 6;
        universeY = universeY * 13 + y;
        return universeY;
    }

    public int getUniverseIndex() {
        return universeIndex;
    }

    public void setUniverseIndex(int universeIndex) {
        this.universeIndex = universeIndex;
    }

    public int getChannel() {
        return channel;
    }

    public void setChannel(int channel) {
        this.channel = channel;
    }

}
